How to find the six trigonometric functions